/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.factory.server.helper;

import com.factory.server.bo.AbstractBusinessObject;
import java.util.List;

/**
 * Wraps input records to one instance with inputId
 *
 * @author milos
 */
public class InputWrapper {

    private List<AbstractBusinessObject> DBRecords;
    private String inputId;

    public InputWrapper(String inputId, List<AbstractBusinessObject> transformToBOList) {
        this.inputId = inputId;
        DBRecords = transformToBOList;
    }

    public boolean validateInput() {
        //TODO implemetovat podla problemId
        return true;
    }

    public List<AbstractBusinessObject> getDBRecords() {
        return DBRecords;
    }

    public String getInputId() {
        return inputId;
    }

    public void setInputId(String inputId) {
        this.inputId = inputId;
    }
}
